<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: ShareCountBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_share_count_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ShareCountBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a>&gt;</code></p>
<div class="dynheader">
类 ShareCountBase 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_share_count_base.png" usemap="#ShareCountBase_map" alt=""/>
  <map id="ShareCountBase_map" name="ShareCountBase_map">
<area href="class_share_count.html" alt="ShareCount&lt; T &gt;" shape="rect" coords="0,56,194,80"/>
<area href="class_share_count_del.html" alt="ShareCountDel&lt; T, DELTYPE &gt;" shape="rect" coords="204,56,398,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ac6ded660af634d036d918e1e2540665b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#ac6ded660af634d036d918e1e2540665b">ShareCountBase</a> ()</td></tr>
<tr class="separator:ac6ded660af634d036d918e1e2540665b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71aa38de9f4834ec5bf290473612de8d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a71aa38de9f4834ec5bf290473612de8d">~ShareCountBase</a> ()</td></tr>
<tr class="separator:a71aa38de9f4834ec5bf290473612de8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a805a39a6cb45071a9c84fa12437ef86b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a805a39a6cb45071a9c84fa12437ef86b">DelUser</a> ()=0</td></tr>
<tr class="separator:a805a39a6cb45071a9c84fa12437ef86b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace948ad8447eaab095f93efb46ee1388"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#ace948ad8447eaab095f93efb46ee1388">DelSelf</a> ()=0</td></tr>
<tr class="separator:ace948ad8447eaab095f93efb46ee1388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff7a793edad9c4ea425d5bfd486db1e4"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#aff7a793edad9c4ea425d5bfd486db1e4">GetPtr</a> ()=0</td></tr>
<tr class="separator:aff7a793edad9c4ea425d5bfd486db1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a317fac433d41bfc695ac89e42fd6b909"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a317fac433d41bfc695ac89e42fd6b909">IncRefUser</a> ()</td></tr>
<tr class="separator:a317fac433d41bfc695ac89e42fd6b909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018e258f4017147766d06774556f5c1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a018e258f4017147766d06774556f5c1c">DecRefUser</a> ()</td></tr>
<tr class="separator:a018e258f4017147766d06774556f5c1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795a4ece2ee6c7c9063c635937d43df5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a795a4ece2ee6c7c9063c635937d43df5">IncRefSelf</a> ()</td></tr>
<tr class="separator:a795a4ece2ee6c7c9063c635937d43df5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0d533e250158c4112f5eb954d5939eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#ac0d533e250158c4112f5eb954d5939eb">DecRefSelf</a> ()</td></tr>
<tr class="separator:ac0d533e250158c4112f5eb954d5939eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f5dbb10e2cb0d4c31c5cb5faf5b1299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#a3f5dbb10e2cb0d4c31c5cb5faf5b1299">RefCount</a> () const</td></tr>
<tr class="separator:a3f5dbb10e2cb0d4c31c5cb5faf5b1299"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:acc59a829eae059b5bb85c4f5e22dfe42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#acc59a829eae059b5bb85c4f5e22dfe42">_nUser</a></td></tr>
<tr class="separator:acc59a829eae059b5bb85c4f5e22dfe42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadb5abb85d22e6085bbd3db7062ce159"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_share_count_base.html#aadb5abb85d22e6085bbd3db7062ce159">_nSelf</a></td></tr>
<tr class="separator:aadb5abb85d22e6085bbd3db7062ce159"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00010">10</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ac6ded660af634d036d918e1e2540665b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6ded660af634d036d918e1e2540665b">&#9670;&nbsp;</a></span>ShareCountBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ShareCountBase::ShareCountBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<a id="a71aa38de9f4834ec5bf290473612de8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71aa38de9f4834ec5bf290473612de8d">&#9670;&nbsp;</a></span>~ShareCountBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ShareCountBase::~ShareCountBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac0d533e250158c4112f5eb954d5939eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0d533e250158c4112f5eb954d5939eb">&#9670;&nbsp;</a></span>DecRefSelf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShareCountBase::DecRefSelf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a018e258f4017147766d06774556f5c1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a018e258f4017147766d06774556f5c1c">&#9670;&nbsp;</a></span>DecRefUser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShareCountBase::DecRefUser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00028">28</a> 行定义.</p>

</div>
</div>
<a id="ace948ad8447eaab095f93efb46ee1388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace948ad8447eaab095f93efb46ee1388">&#9670;&nbsp;</a></span>DelSelf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ShareCountBase::DelSelf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_share_count_del.html#a5779c5f7185fc175c09a26e49af48afd">ShareCountDel&lt; T, DELTYPE &gt;</a> , 以及 <a class="el" href="class_share_count.html#afc484b470cbf97467031caebda906fe9">ShareCount&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<a id="a805a39a6cb45071a9c84fa12437ef86b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a805a39a6cb45071a9c84fa12437ef86b">&#9670;&nbsp;</a></span>DelUser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ShareCountBase::DelUser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_share_count_del.html#a4b09d7e6015cb99f510e1fb17313ad20">ShareCountDel&lt; T, DELTYPE &gt;</a> , 以及 <a class="el" href="class_share_count.html#a415b6cce9114b69751f0dafffccfe9e5">ShareCount&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<a id="aff7a793edad9c4ea425d5bfd486db1e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff7a793edad9c4ea425d5bfd486db1e4">&#9670;&nbsp;</a></span>GetPtr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* ShareCountBase::GetPtr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_share_count_del.html#a856c4aad1d36a13138534d2081e950bb">ShareCountDel&lt; T, DELTYPE &gt;</a> , 以及 <a class="el" href="class_share_count.html#aa0ce3994e2bf32818df13b686f9bb170">ShareCount&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<a id="a795a4ece2ee6c7c9063c635937d43df5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a795a4ece2ee6c7c9063c635937d43df5">&#9670;&nbsp;</a></span>IncRefSelf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShareCountBase::IncRefSelf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a317fac433d41bfc695ac89e42fd6b909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a317fac433d41bfc695ac89e42fd6b909">&#9670;&nbsp;</a></span>IncRefUser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> ShareCountBase::IncRefUser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="a3f5dbb10e2cb0d4c31c5cb5faf5b1299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f5dbb10e2cb0d4c31c5cb5faf5b1299">&#9670;&nbsp;</a></span>RefCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> ShareCountBase::RefCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aadb5abb85d22e6085bbd3db7062ce159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadb5abb85d22e6085bbd3db7062ce159">&#9670;&nbsp;</a></span>_nSelf</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> ShareCountBase::_nSelf</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00013">13</a> 行定义.</p>

</div>
</div>
<a id="acc59a829eae059b5bb85c4f5e22dfe42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc59a829eae059b5bb85c4f5e22dfe42">&#9670;&nbsp;</a></span>_nUser</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> ShareCountBase::_nUser</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a> 第 <a class="el" href="_shared_ptr_8h_source.html#l00012">12</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/thread/<a class="el" href="_shared_ptr_8h_source.html">SharedPtr.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
